import { chatHttp, type IRes } from '@/utils/request';

// 获取当前房间内正在通话的所有人
export const getRoomMembers = (room: string) =>
	chatHttp.get<IRes<string[]>>({
		url: `rtc/room_members/?room=${room}`
	});
